<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统管理-系统设置</title>
    <link href="${base}/static/res/manage/css/common.css" rel="stylesheet">
    <link href="${base}/static/res/manage/css/ec.css" rel="stylesheet">
    <link href="${base}/static/res/manage/css/list.css" rel="stylesheet">
    <script type="text/javascript" src="${base}/static/res/plugin/jquery/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="${base}/static/res/plugin/validator/jquery.validate.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="${base}/static/res/admin/js/common.js"></script>
[#include "/admin/include/plupload.ftl" /]
    <script type="text/javascript">
        $(function () {
        [@flash_message /]

            // 表单校验
            $("#inputForm").validate({
                rules: {
                    copyRight: {
                        required: true
                    },
                    servicePhone: {
                        required: true,
                        pattern: /^(1[3,5,8,7]{1}[\d]{9})|(((400)-(\d{3})-(\d{4}))|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{3,7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)$/
                    },
                    email: {
                        required: true,
                        email: true
                    },
                    techSupport: {
                        required: true
                    }
                }
            });
        });
    </script>
</head>
<body>
<form id="inputForm" action="updateOtherSetting.jhtml" method="post">
    <div class="tab set">
        <h3><a href="javascript:;">首页</a><a href="javascript:;">>系统管理</a><a href="editOtherSetting.jhtml">> 系统设置</a>
        </h3>
        <div class="tablist message set">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td><label>版权<span class="cred"> * </span></label></td>
                    <td>
                        <input type="text" name="copyRight" placeholder="版权" value="${setting.copyRight}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>客服电话<span class="cred"> * </span></label></td>
                    <td>
                        <input type="text" name="servicePhone" placeholder="客服电话" value="${setting.servicePhone}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>邮箱<span class="cred"> * </span></label></td>
                    <td>
                        <input type="text" name="email" placeholder="邮箱" value="${setting.email}"/>
                    </td>
                </tr>
                <tr>
                    <td><label>技术支持<span class="cred"> * </span></label></td>
                    <td>
                        <input type="text" name="techSupport" placeholder="技术支持" value="${setting.techSupport}"/>
                    </td>
                </tr>
            </table>
            <p class="save">
                <input type="submit" value="保存" class="red">
            </p>
        </div>
    </div>
</form>
</body>
</html>